home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <title>2.  Using Script-Fu Scripts</title>
- <link rel="stylesheet" href="gimp-help-plain.css" type="text/css" />
- <link rel="stylesheet" href="gimp-help-screen.css" type="text/css" />
- <link rel="stylesheet" href="gimp-help-custom.css" type="text/css" />
- <link rel="alternate stylesheet" href="gimp22.css" type="text/css" title="gimp22" />
- <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
- <link rel="start" href="index.html" title="GNU Image Manipulation Program" />
- <link rel="up" href="gimp-scripting.html" title="Chapter 12.  Scripting" />
- <link rel="prev" href="gimp-scripting.html" title="Chapter 12.  Scripting" />
- <link rel="next" href="install-script-fu.html" title="2.2.  Installing Script-Fus" />
- </head>
- <body>
- <div class="navheader">
- <table width="100%" summary="Navigation header">
- <tr>
- <th colspan="3" align="center">2. 
- <span lang="en" xml:lang="en">Using Script-Fu Scripts</span>
- </th>
- </tr>
- <tr>
- <td width="20%" align="left"><a accesskey="p" href="gimp-scripting.html"><img src="../images/prev.png" alt="Prev" /></a> </td>
- <th width="60%" align="center">Chapter 12. 
- <span lang="en" xml:lang="en">Scripting</span>
- </th>
- <td width="20%" align="right"> <a accesskey="n" href="install-script-fu.html"><img src="../images/next.png" alt="Next" /></a></td>
- </tr>
- </table>
- <hr />
- </div>
- <div class="sect1" lang="en" xml:lang="en">
- <div class="titlepage">
- <div>
- <div>
- <h2 class="title" style="clear: both"><a id="gimp-concepts-script-fu"></a>2. 
- <span lang="en" xml:lang="en">Using Script-Fu Scripts</span>
- </h2>
- </div>
- </div>
- </div>
- <a id="id2615456" class="indexterm"></a>
- <div class="sect2" lang="en" xml:lang="en">
- <div class="titlepage">
- <div>
- <div>
- <h3 class="title"><a id="id2615470"></a>2.1. 
- <span lang="en" xml:lang="en">Script-Fu?</span>
- </h3>
- </div>
- </div>
- </div>
- <p>
- Script-Fu is what the Windows world would call "macros" But Script-Fu is
- more powerful than that. Script-Fu is based on an interpreting language
- called Scheme, and works by using querying functions to the GIMP
- database. You can do all kinds of things with Script-Fu, but an ordinary
- GIMP user will probably use it for automating things that:
- </p>
- <div class="itemizedlist">
- <ul type="disc">
- <li>
- <p>You want to do frequently.</p>
- </li>
- <li>
- <p>Are really complicated to do, and hard to remember.</p>
- </li>
- </ul>
- </div>
- <p>
- Remember that you can do a whole lot with Script-Fu. The scripts that
- come with GIMP can be quite useful, but they can also serve as models
- for learning Script-Fu, or at least as a framework and source of
- modification when you make your own script. Read the Script-Fu Tutorial
- in the next section if you want to learn more about how to make scripts.
- </p>
- <p>
- We will describe some of the most useful scripts in this chapter, but we
- won't cover them all. There are simply too many scripts. Some of the
- scripts are also very simple and you will probably not need any
- documentation to be able to use them.
- </p>
- <p>
- Script-Fu (a dialect of Scheme) isn't the only scripting language
- available for GIMP. But Script-Fu is the only scripting language that is
- installed by default. Other available scripting extensions are Perl and
- Tcl. You can download and install both extensions at the GIMP Plugin
- Registry <a class="xref" href="bibliography.html#bibliography-online-gimp-plugin-registry" title="GIMP-Plugin Registry">[<abbr class="abbrev">GIMP-REGISTRY</abbr>]</a>.
- </p>
- </div>
- </div>
- <div class="navfooter">
- <hr />
- <table width="100%" summary="Navigation footer">
- <tr>
- <td width="40%" align="left"><a accesskey="p" href="gimp-scripting.html"><img src="../images/prev.png" alt="Prev" /></a> </td>
- <td width="20%" align="center">
- <a accesskey="u" href="gimp-scripting.html">
- <img src="../images/up.png" alt="Up" />
- </a>
- </td>
- <td width="40%" align="right"> <a accesskey="n" href="install-script-fu.html"><img src="../images/next.png" alt="Next" /></a></td>
- </tr>
- <tr>
- <td width="40%" align="left" valign="top"><a accesskey="p" href="gimp-scripting.html">Chapter 12. 
- <span lang="en" xml:lang="en">Scripting</span>
- </a> </td>
- <td width="20%" align="center">
- <a accesskey="h" href="index.html">
- <img src="../images/home.png" alt="Home" />
- </a>
- </td>
- <td width="40%" align="right" valign="top"> <a accesskey="n" href="install-script-fu.html">2.2. 
- <span lang="en" xml:lang="en">Installing Script-Fus</span>
- </a></td>
- </tr>
- </table>
- </div>
- </body>
- </html>
-